import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import FooterIndex from '@/components/xpf/footer.index.vue'
import Play from '@/components/myt/play.vue'
import Singer from '@/components/myt/singer.vue'
import Vant from 'vant';
import ToggleSidebar from "@/components/xpf/home/components/search.component.vue"
import 'vant/lib/index.css';
Vue.component("Play", Play)
Vue.component("Singer", Singer)
Vue.component("FooterIndex", FooterIndex)
Vue.component("ToggleSidebar", ToggleSidebar)
Vue.use(Vant);
Vue.config.productionTip = false;
Vue.prototype.$bus = new Vue();
require("./mock")
new Vue({
    router,
    store,
    render: h => h(App),
}).$mount('#app');